@import "style";

.education {
  margin-top: 44px;

  .education-header {
    background-color: @textColor;

    .iconfont {
      font-size: @biggestSize;
    }
  }

  .menu {
    width: 100%;
    //padding: 10px 0;
    padding: 10px 50px;
    border-bottom: 1px solid #e4e4e4;

    a {
      float: left;
      //width: 33.33%;
      width: 50%;
      padding: 8px 10px;
      text-align: center;

      span {
        display: block;
        color: #5c5c5c;
        padding-top: 15px;
      }
    }

    &-iconfont {
      color: #fff;
      font-size: 2.4rem;
      background-color: #01cbf0;
      padding: 6px 10px;
      border-radius: 50%;
    }

    &-green {
      background-color: #54d5a0;
    }

    &-deepBlue {
      background-color: @textColor;
    }

    &-yellow {
      background-color: #fbb804;
    }

    &-red {
      background-color: #fd7360;
    }

    &-blue {
      background-color: #01cbf0;
    }
  }

  .my-education {
    padding: 10px 15px;

    &-top {
      .top-left {
        float: left;
        font-size: @mainTxtSize;
      }

      .top-right {
        float: right;
        text-align: right;

        a {
          color: #5c5c5c;
          font-size: @smallSize;

          .icon-yousanjiao-copy-copy-copy {
            font-size: @smallSize;
            font-weight: bold;
            margin-left: -2px;
          }
        }
      }
    }

    &-no {
      width: 100%;
      margin: 10px 0;
      background-color: #e4e3e3;
      border-radius: 6px;
      height: 110px;

      a {
        color: #5c5c5c;
        text-align: center;
        display: block;
        padding-top: 20px;
        height: 110px;
      }

      .add-icon {
        display: block;
        font-size: 3.4rem;
      }

      .add-course {
        display: block;
        font-size: @mainTxtSize;
      }
    }

    &-course {
      margin-top: 8px;

      &-item {
        float: left;
        //width: 30%;
        width: 100%;
        //margin-right: 5%;

        .img {
          position: relative;
          width: 100%;
          //height: 130px;
          height: 160px;
          overflow: hidden;
          border: 1px solid #EFEEEE;
          text-align: center;

          img {
            width: 100%;
          }
        }

        .item-bar {
          position: absolute;
          left: 0;
          right: 0;
          width: 100%;
          bottom: 0;
          background: rgba(0, 0, 0, .7);
          color: #fff;
          padding: 5px 10px;
          font-size: @smallestSize;
          text-align: left;
        }

        .video-name {
          color: #000;
          padding-top: 5px;
          display: -webkit-box;
          /*! autoprefixer: off */
          -webkit-box-orient: vertical;
          /* autoprefixer: on */
          -webkit-line-clamp: 2;
          word-break: break-all;
          overflow: hidden;
        }
      }

      &-item:last-child {
        margin-right: 0;
      }
    }
  }

  .division {
    width: 100%;
    height: 15px;
    background-color: #f0efef;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
  }

  .new-course {
    padding: 10px 0 10px 10px;
    width: 100%;

    &-box {
      max-width: 3500px;
      overflow-x: scroll;
      display: flex;

      &-item {
        width: 110px;
        display: table;
        margin-right: 15px;

        .img {
          width: 100%;
          height: 160px;
          margin-top: 10px;
          overflow: hidden;

          img {
            width: 100%;
            height: auto;
            border: 1px solid #EFEEEE;
          }
        }

        &-name {
          color: #000;
          padding-top: 5px;
        }
      }
    }
  }

  .column-title {
    font-size: @mainTxtSize;
    width: 100%;
  }

  .quality-course {
    padding: 10px 0 10px 10px;

    &-item {
      padding: 0 10px 10px 0;
      margin-top: 10px;
      border-bottom: 1px solid #e4e4e4;
      display: block;
      color: #000;

      &-left {
        float: left;
        width: 30%;
        height: 140px;
        overflow: hidden;

        img {
          width: 100%;
          max-width: 110px;
          height: auto;
        }
      }

      &-right {
        float: left;
        width: 70%;
        padding-left: 15px;
        position: relative;
        height: 140px;

        &-title {
          font-size: @mainTxtSize;
          display: -webkit-box;
          /*! autoprefixer: off */
          -webkit-box-orient: vertical;
          /* autoprefixer: on */
          -webkit-line-clamp: 1;
          word-break: break-all;
          overflow: hidden;
        }

        &-summary {
          margin-top: 8px;
          color: #5c5c5c;
          display: -webkit-box;
          /*! autoprefixer: off */
          -webkit-box-orient: vertical;
          /* autoprefixer: on */
          -webkit-line-clamp: 3;
          word-break: break-all;
          overflow: hidden;
        }

        &-look {
          position: absolute;
          left: 15px;
          bottom: 0;

          .iconfont {
            color: #828282;
          }
        }

      }
    }

    .blue-color {
      color: @textColor;
    }
  }

  .a-class {
    color: #fff;
  }

  .practice {
    margin-bottom: 70px;

    &-summary {
      background-color: #e1e6ea;
      padding: 10px;

      &-left {
        float: left;
        font-size: 1.6rem;
      }

      &-right {
        float: right;

        &-now {
          font-size: 2rem;
        }
      }
    }

    &-content {
      &-question-type {
        margin: 15px 10px;

        span {
          padding: 5px 10px;
          background-color: @textColor;
          color: #fff;
        }
      }

      &-subject {
        padding: 10px;

        p {
          padding-bottom: 5px;

          input {
            margin-right: 10px;
          }
        }

        .result-normal {
          border: 1px solid #b0afaf;
          padding: 10px;
          border-radius: 4px;
          margin-bottom: 8px;
        }

        .result-correct {
          border: 1px solid #4ed768;
        }

        .result-wrong {
          border: 1px solid #fd823f;
        }
      }

      &-next {
        margin: 0 auto;
        width: 90%;
        background-color: @textColor;
        padding: 10px;
        color: #fff;
        text-align: center;
        border-radius: 4px;
        font-size: 2rem;
        display: block;
        position: fixed;
        bottom: 20px;
        left: 20px;
      }
    }

    &-analysis {
      border-top: 10px solid #f0efef;
      padding: 10px;

      &-result {
        font-size: 1.6rem;
        margin-bottom: 5px;
      }

      &-zm {
        margin-right: 20px;
        font-size: 2.2rem;
      }

      &-detail {
        color: #6a6a6a;
      }
    }
  }

}
